<h1 mat-dialog-title>{{ 'Multiple Errors' | translate }}</h1>
<div
  class="multi-error-dialog"
  mat-dialog-content
>
  @for (error of errors; track error) {
    <ix-error-template
      class="error-template"
      [title]="error.title"
      [message]="error.message"
      [stackTrace]="error.stackTrace"
      [logs]="error.logs"
    ></ix-error-template>
    <mat-divider></mat-divider>
  }

</div>
<div mat-dialog-actions>
  <button
    mat-button
    class="mat-mdc-button mat-button mat-accent"
    ixTest="close-error-dialog"
    (click)="dialogRef.close(true)"
  >
    {{ 'Close' | translate }}
  </button>
  <!-- <button
    *ngIf="logs"
    mat-button
    class="mat-mdc-button mat-button mat-primary"
    ixTest="download-logs"
    (click)="downloadLogs()"
  >
    {{ 'Download Logs' | translate }}
  </button> -->
</div>
